﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyData.Dto
{
    public class UserInfoDto : DtoBase
    {
        public Guid DepartId { get; set; }
        public string DepartName { get; set; }
        public string RoleName { get; set; }
        public string WorkNum { get; set; }
        public string NickName { get; set; }
        public int Sex { get; set; }
        public int Age { get; set; }
        public string SexStr
        {
            get
            {
                return Enum.GetName(typeof(EnumSex), this.Sex);
            }
        }
        public string CardNum { get; set; }
        public string PhoneNum { get; set; }
        public string Address { get; set; }
        public string Nation { get; set; }
        public string HeadUrl { get; set; }
        public int NeedConfirm { get; set; }
    }
}
